package com.gisquest.cloud.common.exception;

import com.gisquest.cloud.common.enums.BizEnum;

/**
 * @Author guowei
 * @Date 2020/6/17 10:51
 * @Description:网络请求异常处理
 **/
public class BizException extends RuntimeException {

  private static final long serialVersionUID = 4013125033768022343L;

  public BizException(String msg) {
    super(msg);
  }

  public BizException(BizEnum em) {
    super(em.getAppendMessage());
  }

  public BizException(String msg, Throwable ex) {
    super(msg, ex);
  }

}
